package com.xhsj.user.sms.purchase.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.sms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 采购订单-采购相关文件
 * </p>
 *
 * @author suxiaolin
 * @since 2020-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_purchase_order_file")
public class TbPurchaseOrderFile extends BaseEntity<TbPurchaseOrderFile> {

    private static final long serialVersionUID = 1L;



    /**
     * 采购订单主表id
     */
    @TableField("data_id")
    private String dataId;

    /**
     * 节点id
     */
    @TableField("node_id")
    private String nodeId;

    /**
     * 文件名称
     */
    @TableField("file_name")
    private String fileName;

    /**
     * 文件路径
     */
    @TableField("file_url")
    private String fileUrl;

    /**
     * 0 采购清单 1 询价单 2 采购计划 3 采购合同
     */
    @TableField("type")
    private Integer type;

    /**
     * 删除路径
     */
    @TableField("del_url")
    private String delUrl;


}
